/**
 * [state 该对象存储所有组件状态]
 * @type {Object}
 */
const state = {
	
}

/**
 * [mutations 该对象存储所有操作组件状态的接口]
 * @type {Object}
 */
const mutations = {
	ADD_IMAGE (state, url){
		state.imgArray.push(url)
	},
	REMOVE_IMAGE (state, index){
		state.imgArray.splice(index, 1)
	}
}

export default {
	state,
	mutations
}